// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) 

package com.yoyo.lib.net.callback;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.text.TextUtils;
import com.yoyo.lib.AppException;
import com.yoyo.lib.net.itf.IProgressListener;

// Referenced classes of package com.stay.lib.net.callback:
//            AbstractCallback

public abstract class BitmapCallback extends AbstractCallback {

    @Override
    protected Bitmap bindData(String data, IProgressListener task) throws AppException {
        super.bindData(data, task);
        Bitmap bitmap = null;
        if (!TextUtils.isEmpty(path)) {
            bitmap = BitmapFactory.decodeFile(path);
        } else {
            bitmap = null;
        }
        return bitmap;
    }

}
